package com.service;


import com.pojo.Product;

import java.util.List;

/**
 * 描述：商品Service
 */
public interface ProductService {

    List<Product> selectAllProducts();
    int  addProduct(Product product);
    int deleteProductById(Integer id);
    int updateProductById(Product product);
    List<Product> selectProsByName(String name,String ctgname);
    List<Product> selectProsByCtg(String ctgname);
}
